#import <UIKit/UIKit.h>
#import "Common.h"
#import <list>

@interface BBCView : UIView
{
	UIView * portrait_pos;
	UIView * landscape_pos;
}

@property(nonatomic, assign) IBOutlet UIView * portrait_pos;
@property(nonatomic, assign) IBOutlet UIView * landscape_pos;

@end

typedef std::list< NSPtr<BBCView> > BBCList;


@interface BBCVC : UIViewController {
	BBCList managed_views;
}
-(void)addAllBBCViewsInView:(UIView *)v;
-(void)layoutViewsFinalAlpha:(bool)portrait;
-(void)layoutViewsFinalState;

@end
